<?php $this->load->view('provider/template/_begin') ?>
<script type="text/javascript">
    jQuery(document).ready(function(){
      jQuery("#form_contact").validationEngine();
    });
  </script>
<div class="form1">  
  <form action="<?php echo site_url('provider/contact/send') ?>" method="post" id="form_contact">
    <table class="table1">
      <tbody>
        <tr>
          <td class="text4">Name:</td>
          <td><input id="name" type="text" name="name" value="<?php echo isset($obj['name'])?$obj['name']:''?>"
                     class="input1 validate[required]"></td>
        </tr>
        <tr>
          <td class="text4">Email:</td>
          <td><input id="email" type="text" name="email" value="<?php echo isset($obj['email'])?$obj['email']:''?>"
                     class="input1 validate[required,custom[email]]"></td>
        </tr>
        <tr>
          <td class="text4">Subject:</td>
          <td><input id="title" type="text" name="title" value="<?php echo isset($obj['title'])?$obj['title']:''?>"
                     class="input1 validate[required]"></td>
        </tr>
        <tr>
          <td class="text4">Message:</td>
          <td>
            <textarea name="content" id="content" cols="45" rows="5" 
                      class="textarea1 validate[required]"><?php echo isset($obj['content'])?$obj['content']:''?></textarea>
          </td>
        </tr>
        <tr>
          <td colspan="2"><div class="button">
           	  <div class="button_left"></div>
              <div class="button_bg"><a href="#" onclick="$('form').submit();return false;">Send</a></div>
              <div class="button_right"></div>
            </div>

          </td>
        </tr>
      </tbody>
    </table>
  </form>
</div>
<?php $this->load->view('provider/template/_end') ?>